/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package aexbanner;

/**
 *
 * @author Administrator
 */
public class MockFonds implements IFonds{

    private String naam;
    private double koers;
    
    public MockFonds(String naam, double initKoers){
        this.naam = naam;
        this.koers = initKoers;
    }
    
    @Override
    public String getNaam() {
        return naam;
    }

    @Override
    public double getKoers() {
        return Math.round(koers*100.0)/100.0;
    }
    
    public void setKoers(double koers){
        this.koers = koers;
    }
    
}
